

package org.come.bean;

import java.math.BigDecimal;
import java.util.Map;
import org.come.entity.Goodstable;

public class GoodsBean {
	private Map<BigDecimal, Goodstable> allGoodsMap;

	public GoodsBean() {
	}

	public Map<BigDecimal, Goodstable> getAllGoodsMap() {
		return this.allGoodsMap;
	}

	public void setAllGoodsMap(Map<BigDecimal, Goodstable> allGoodsMap) {
		this.allGoodsMap = allGoodsMap;
	}
	
	public Goodstable getgoods(BigDecimal id) {
		Goodstable goods = allGoodsMap.get(id);
		return goods;
	}
}
